<%@ page language="java"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://acegisecurity.org/authz" prefix="authz"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="mytags"%>

<head>
<link rel="stylesheet" href="<c:url value="/css/style.css" />"
	type="text/css" />
</head>

<body bgcolor="#e7e2da" text="#000000" link="#004000" vlink="#808080"
	alink="#808080" marginheight="0" marginwidth="0" topmargin="0"
	leftmargin="0">

<table width="100%" cellspacing="0" cellpadding="10">
	<tr>
		<td align="center" valign="middle"><img
			src="<c:url value="/viewImage.html" >
        	        <c:param name="id" value="${param.imageId}" />
        	        <c:param name="type" value="fullsize" />
		         </c:url>" />
		</td>
	</tr>
	<tr>
		<td align="center" bgcolor="#d1cdc4"><c:forEach items="${images}"
			var="image" varStatus="i">
			<c:if test="${i.count == 1 || i.count % 5 == 1}">
				<br>
			</c:if>
			<a
				href="<c:url value="/viewCarImages.html"><c:param name="id" value="${param.id}" /><c:param name="imageId" value="${image.id}" /></c:url>">
			<mytags:image id="${image.id}" cssClass="thumb" /> </a>
		</c:forEach></td>
	</tr>
</table>
</body>
